
import vuex from 'vuex'
import Vue from 'vue'
import home from './home'
import search from './search'
import detail from './detail'
import shopCart from './shopCart'
import user from './user'
import trade from './trade'
import pay from './pay'

Vue.use(vuex)

export default new vuex.Store({
    modules: {
        home,
        search,
        detail,
        shopCart,
        user,
        trade,
        pay,
    }
})